<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const arr = ["css", "html", "js", "vs", "c++"];
      // ...c 收集剩余值，以数组方式返回
      // const [a, b, ...c] = arr;
      const [...c] = arr;
      console.log(c);
    </script>
  </body>
</html>
